<html>
<head>
    <script id="_1572054783681_1096"
            src="https://fp.tongdun.net/fp/detect.json?partnerCode=mafengwo&amp;token_id=mafengwo-1572054782918-922568e1fe1ba&amp;appName=mafengwo_web&amp;paramz=https%3A%2F%2Fpassport.mafengwo.cn%2Freset%2Fmobile%2F%5E%5E-%5E%5E-%5E%5E-&amp;v=X5lxFOeetfOHz3JmqRy0SW3NrZVt0a%2BeoXcp18hq%2B3frnu5g3xH%2BXotkuSBIV%2Fca&amp;idf=1572054783279-17035235655&amp;w=2UXucqYj30x10NlRkTFlRs6lTqoANueZwqOwmnaCCAa4n_EjI04JHu_X4TRWTIEujdjlV6RKw2%2FRhkbdkIq0Yyq3V_6tH3LB&amp;ct=KiZ%2F_EH5AIO%3D&amp;_callback=_1572054783681_1096&amp;p=7NcpUkZIJBo49XtGCwtDCG%3D%3D&amp;h=4463bba36fd384703a672676e44979b8"></script>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>设置新密码 - 骡窝窝</title>
    <meta property="mfw:partner-platform" content="">
    <link href="https://css.mafengwo.net/css/cv/css+login+login_v2:mobile+css+omc+login-omc+login-omc^ZlY^1550829726.css"
          rel="stylesheet" type="text/css">
    <script type="text/javascript" src="https://static.tongdun.net/captcha/main/tdc.js?ver=1.0&amp;t=2620091"></script>
    <script src="https://hm.baidu.com/hm.js?8288b2ed37e5bc9b4c9f7008798d2de0"></script>
    <script language="javascript" src="https://js.mafengwo.net/js/cv/js+global+json2:js+m.statistics^YFQ^1571053033.js"
            type="text/javascript" crossorigin="anonymous"></script>


    <script charset="UTF-8" src="https://static.tongdun.net/v2/fm.js?t=436682"></script>
    <link href="https://static.tongdun.net/captcha/main/1.7.4/tdCaptcha.css?t=436682" rel="stylesheet" type="text/css">
    <script charset="UTF-8" async="" src="https://static.tongdun.net/captcha/main/1.7.4/tdCaptcha.js?t=436682"></script>
    <script src="/js/jquery/jquery.js"></script>
    <script src="/js/jquery.form.js"></script>

</head>
<body>

<div class="wrapper">
    <div class="container">
        <a href="/ " title="返回首页" class="logo">马蜂窝</a>
        <div class="signup-forms">
            <div class="signup-box">
                <div class="add-info">
                    <div class="hd">设置新密码</div>
                    <div class="alert alert-info">短信验证码已下发，请注意查收。</div>
                    <form action="" method="post" id="_j_reset_mobile_form">
                        <div class="form-field">
                            <input name="password" type="password" placeholder="您的密码" autocomplete="off"
                                   data-verification-name="密码"
                                   class="verification[required,minSize[3],maxSize[50]]]">
                            <div class="err-tip"></div>
                        </div>
                        <div class="form-field">
                            <input name="rpassword" type="password" placeholder="确认密码" autocomplete="off"
                                   data-verification-name="密码" class="verification[equals[password]]">
                            <div class="err-tip"></div>
                        </div>
                        <div class="form-field">
                            <input name="code" type="text" placeholder="短信验证码" autocomplete="off"
                                   data-verification-name="短信验证码" class="verification[required]">
                            <div class="err-tip"></div>
                        </div>
                        <div class="submit-btn">
                            <button type="submit">完成</button>
                        </div>
                    </form>
                </div>
            </div>
            <script>
                $(function () {
                    $('.submit-btn').click(function () {
                        var data = $('#_j_reset_mobile_form').serialize();
                        $.ajax({
                            url: '/mine/byphone',
                            type: "post",
                            data: data,
                            success: function (data) {
                                if (data.success) {
                                    alert("修改成功,跳转登入界面");
                                    window.location.href = "/login.html"
                                } else {
                                    alert(data.msg);
                                    window.location.reload();
                                }
                            }
                        })
                    })
                })
            </script>
        </div>
    </div>
</div>


<script language="javascript"
        src="https://js.mafengwo.net/js/cv/js+jquery-1.8.1.min:js+plugins+jquery.placeholder:passport+js+app^ZVA^1537192880.js"
        type="text/javascript" crossorigin="anonymous"></script>
<script language="javascript" src="https://js.mafengwo.net/js/cv/js+mfw.verification:passport+js+form^YFM^1559527401.js"
        type="text/javascript" crossorigin="anonymous"></script>

